package com.youlai.boot.modules.policy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.modules.policy.model.Policy;
import com.youlai.boot.modules.policy.model.PolicyVO;
import com.youlai.boot.modules.policy.model.PolicyPageQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PolicyMapper extends BaseMapper<Policy> {
    Page<PolicyVO> getPolicyPage(Page<PolicyVO> page, @Param("query") PolicyPageQuery query);
}